﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrintView.aspx.cs" Inherits="MyFloridaHouse.MapServer.PrintView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
        .LogoContainer{
            visibility: hidden; 
            }
        .districtLabel div{
            font-size: 8px !important;
            color: Red !important;
            }
        .countyLabel div{
            font-size: 6px !important; 
            color: Black !important;
            }
    </style>
    <link href="css/Map8x11.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>
        <script type="text/javascript" >
        function setProgressBarVisible() {
            //document.getElementById("prtViewStatusDiv").innerHTML = '<H2>Please wait while Print View is loading...</H2>';
            document.getElementById("prtViewStatusDiv").style.display = 'none';
        }
        </script>
</head>
<body> 
    <form id="form1" runat="server">
    <div id='fileControlDiv'>
        <asp:FileUpload id="FileUpload1"
           runat="server">
        </asp:FileUpload>

        <br /><br />
        
        <asp:Button id="UploadButton" 
            Text="Print Plan File"
            OnClick="UploadButton_Click"
            OnClientClick="javascript:setProgressBarVisible()" 
            runat="server">
        </asp:Button>

        <br /><br />

        <asp:Label id="UploadStatusLabel"
            runat="server">
        </asp:Label>  

        <br /><br />

        <asp:Label id="ContentsLabel"
           runat="server">
        </asp:Label>  

        <br /><br />

        <asp:PlaceHolder id="PlaceHolder1"
            runat="server">
        </asp:PlaceHolder>   
    </div>

    <asp:Panel id="mapControlPanel" runat="server">
        <div id="Heading"  runat="server"></div>
        <div id="MainMap"></div>
        <div id="GoldCoastCont">
          <div id="GoldCoastText">Gold Coast</div>
          <div id="GoldCoastMap"></div>
        </div>
        <div id="JaxCont">
          <div id="JaxText">Jacksonville</div>
          <div id="JaxMap"></div>
        </div>
        <div id="OrlandoCont">
          <div id="OrlandoText">Orlando</div>
          <div id="OrlandoMap"></div>
        </div>
        <div id="TampaCont">
          <div id="TampaText">Tampa</div>
          <div id="TampaMap"></div>
        </div>
        <div id="PlanName" class="planNameBox"><img src="../images/HouseRedistrictingCommittee.png"/></div>
     </asp:Panel>
    <div id="prtViewStatusDiv" class="printViewStatusLocation">Please browse to the plan file you would like to print.  <br /><i>Note:</i> this print functionlity only works with Internet Explorer.  <br />The Print View will take a moment to load.</div>
    </form>
</body>
</html>

